LISTEN_ADDRESS: "0.0.0.0"
LISTEN_PORT: "8001"
DEVELOPMENT: false
AUTH:
  # Possible options:
  # - none - authentication is disabled
  # - fake - no keystone required, credentials: admin/admin
  # - keystone - authentication enabled.
  AUTHENTICATION_METHOD: "keystone"
  # use only if AUTHENTICATION_METHOD is set to "keystone"
  auth_host: "<%= @keystone_host %>"
  auth_protocol: "http"
  auth_version: "v2.0"
  admin_user: "<%= @keystone_nailgun_user  %>"
  admin_password: "<%= @keystone_nailgun_pass %>"
  admin_tenant_name: "services"

DATABASE:
  engine: "<%= @database_engine %>"
  name: "<%= @database_name %>"
  host: "<%= @database_host %>"
  port: "<%= @database_port %>"
  user: "<%= @database_user %>"
  passwd: "<%= @database_passwd %>"

FUEL_KEY: "<%= @fuel_key %>"

STATIC_DIR: "<%= @staticdir %>"
TEMPLATE_DIR: "<%= @templatedir %>"
NETWORK_POOLS:
  public:
    - "172.16.0.0/16"
  private10:
    - "10.0.0.0/8"
  private192:
    - "192.168.0.0/16"

NET_EXCLUDE:
  - "<%= @exclude_network %>/<%= @exclude_cidr %>"

ADMIN_NETWORK:
  cidr: "<%= @admin_network %>/<%= @admin_network_cidr %>"
  netmask: "<%= @admin_network_netmask %>"
  mac: "<%= @admin_network_mac %>"
  size: "<%= @admin_network_size %>"
  first: "<%= @admin_network_first %>"
  last: "<%= @admin_network_last %>"
  gateway: "<%= @admin_network_gateway %>"

VLANS_RANGE_START: "100"
VLANS_RANGE_END: "1000"

RABBITMQ:
  fake: "0"
  hostname: "<%= @rabbitmq_host %>"
  port: 5672
  userid: "<%= @rabbitmq_astute_user %>"
  password: "<%= @rabbitmq_astute_password %>"
  virtual_host: "/"

APP_LOG: "/var/log/nailgun/app.log"
API_LOG: "/var/log/nailgun/api.log"

PATH_TO_SSH_KEY: "/root/.ssh/id_rsa"
PATH_TO_BOOTSTRAP_SSH_KEY: "/root/.ssh/bootstrap.rsa"
AUTHORIZED_KEYS:
  - "<%= scope.function_strip([scope.function_file(["/root/.ssh/id_rsa.pub"])]) %>"

MASTER_IP: "<%= @admin_network_ip %>"

COBBLER_URL: "<%= @cobbler_url %>"
COBBLER_USER: "<%= @cobbler_user %>"
COBBLER_PASSWORD: "<%= @cobbler_password %>"
COBBLER_PROFILE: "centos-x86_64"

MCO_PSKEY: "<%= @mco_pskey %>"
MCO_VHOST: "<%= @mco_vhost %>"
MCO_HOST: <%= @mco_host %>
MCO_USER: "<%= @mco_user %>"
MCO_PASSWORD: "<%= @mco_password %>"
MCO_CONNECTOR: "<%= @mco_connector %>"

PUPPET_MASTER_HOST: "<%= @puppet_master_hostname %>"
PUPPET_VERSION: "2.7.19"

DNS_DOMAIN: "<%= @dns_domain %>"
DNS_SERVERS: "<%= @cobbler_host %>"
DNS_SEARCH: "<%= @dns_domain.gsub(/,/, ' ') %>"
DNS_UPSTREAM: "<%= @dns_upstream %>"

NTP_UPSTREAM: "<%= @ntp_upstream %>"
